package com.letoy.study.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program:letoy-study-java
 * @author: WeiHaoL
 * @Time: 2021/1/28  上午10:40
 */


@Data
@NoArgsConstructor
@AllArgsConstructor
public class CourseVo {


    @ApiModelProperty(value = "课程ID", example = "1", dataType = "int")
    private long courseId;
    @ApiModelProperty(value = "课程名称", example = "Java入门", dataType = "String")
    private String courseName;
    @ApiModelProperty(value = "课程类型", example = "后端课程", dataType = "String")
    private String courseType;
    @ApiModelProperty(value = "课程视频地址", example = "", dataType = "String")
    private String courseVideoUrl;
    @ApiModelProperty(value = "课程描述", example = "java入门", dataType = "String")
    private String courseDescribe;
    @ApiModelProperty(value = "课程浏览量", example = "200", dataType = "String")
    private String courseViews;
    @ApiModelProperty(value = "课程作者ID", example = "1", dataType = "long")
    private long userId;
    @ApiModelProperty(value = "课程评论集编号", example = "1", dataType = "long")
    private long courseCommentId;
    @ApiModelProperty(value = "课程发布时间", example = "yyyy-MM-dd HH:mm:ss", dataType = "String")
    private String coursePublishTime;
}
